.class Ladapter/FramentOrder11111$GoodsAdapter$4;
.super Ljava/lang/Object;
.source "FramentOrder11111.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Ladapter/FramentOrder11111$GoodsAdapter;->getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Ladapter/FramentOrder11111$GoodsAdapter;


# direct methods
.method constructor <init>(Ladapter/FramentOrder11111$GoodsAdapter;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Ladapter/FramentOrder11111$GoodsAdapter$4;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    .line 1267
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .param p1, "arg0"    # Landroid/view/View;

    .prologue
    .line 1273
    iget-object v2, p0, Ladapter/FramentOrder11111$GoodsAdapter$4;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v2}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v2

    # getter for: Ladapter/FramentOrder11111;->beans2:Ljava/util/ArrayList;
    invoke-static {v2}, Ladapter/FramentOrder11111;->access$1(Ladapter/FramentOrder11111;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/example/m6shop/GoodsBean2;

    .line 1275
    .local v0, "bean":Lcom/example/m6shop/GoodsBean2;
    invoke-virtual {v0}, Lcom/example/m6shop/GoodsBean2;->getHave_det()Ljava/lang/String;

    move-result-object v2

    const-string v3, "1"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_0

    .line 1276
    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Ladapter/FramentOrder11111$GoodsAdapter$4;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v2}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v2

    # getter for: Ladapter/FramentOrder11111;->context:Landroid/content/Context;
    invoke-static {v2}, Ladapter/FramentOrder11111;->access$0(Ladapter/FramentOrder11111;)Landroid/content/Context;

    move-result-object v2

    const-class v3, Lcom/example/m6shop/DishesActivity22;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 1278
    .local v1, "intent":Landroid/content/Intent;
    const-string v2, "goodsid"

    invoke-virtual {v0}, Lcom/example/m6shop/GoodsBean2;->getId()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1279
    const-string v2, "shopid"

    iget-object v3, p0, Ladapter/FramentOrder11111$GoodsAdapter$4;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v3}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v3

    # getter for: Ladapter/FramentOrder11111;->shopid:Ljava/lang/String;
    invoke-static {v3}, Ladapter/FramentOrder11111;->access$6(Ladapter/FramentOrder11111;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1280
    const-string v2, "open"

    iget-object v3, p0, Ladapter/FramentOrder11111$GoodsAdapter$4;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v3}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v3

    # getter for: Ladapter/FramentOrder11111;->open:Ljava/lang/String;
    invoke-static {v3}, Ladapter/FramentOrder11111;->access$2(Ladapter/FramentOrder11111;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1281
    const-string v2, "shopname"

    iget-object v3, p0, Ladapter/FramentOrder11111$GoodsAdapter$4;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v3}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v3

    # getter for: Ladapter/FramentOrder11111;->shopname:Ljava/lang/String;
    invoke-static {v3}, Ladapter/FramentOrder11111;->access$7(Ladapter/FramentOrder11111;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 1282
    iget-object v2, p0, Ladapter/FramentOrder11111$GoodsAdapter$4;->this$1:Ladapter/FramentOrder11111$GoodsAdapter;

    # getter for: Ladapter/FramentOrder11111$GoodsAdapter;->this$0:Ladapter/FramentOrder11111;
    invoke-static {v2}, Ladapter/FramentOrder11111$GoodsAdapter;->access$0(Ladapter/FramentOrder11111$GoodsAdapter;)Ladapter/FramentOrder11111;

    move-result-object v2

    invoke-virtual {v2, v1}, Ladapter/FramentOrder11111;->startActivity(Landroid/content/Intent;)V

    .line 1287
    .end local v1    # "intent":Landroid/content/Intent;
    :cond_0
    return-void
.end method
